﻿// 项目：	Guan.CMS.Domain - Guan.CMS
// 文件名：	CanAddSiteConfig.cs
// 
// 修改时间：2013-03-06 21:42
// 修改人：	Cooclsee

using System.Collections.Generic;
using Guan.CMS.CommandProcessor.Command;
using Guan.CMS.Data.Infrastructure;
using Guan.CMS.Data.Repositories;
using Guan.CMS.Domain.Commands.SiteConfig;
using Guan.CMS.Core.Common;

namespace Guan.CMS.Domain.Handlers.SiteConfig
{
    public class CanAddSiteConfig : IValidationHandler<AddOrUpdateSiteConfigCommand>
    {
        private readonly ISiteConfigRepository _siteConfigRepository;
        public CanAddSiteConfig(ISiteConfigRepository siteConfigRepository, IUnitOfWork unitOfWork)
        {
            this._siteConfigRepository = siteConfigRepository;
        }
        public IEnumerable<ValidationResult> Validate(AddOrUpdateSiteConfigCommand command)
        {
            return null;
        }
    }
}